package com.study.model;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 请求restful service provider,except返回的结果如下,
 * {
 * type: "success",
 * value: {
 * id: 10,
 * quote: "Really loving Spring Boot, makes stand alone Spring apps easy."
 * }
 * }
 */
@Data
@NoArgsConstructor
public class Quote {
    private String type;
    private Value value;
}

@Data
@NoArgsConstructor
class Value {
    private Long id;
    private String quote;
}
